package com.briup.category.domin;

import lombok.Data;

//购物⻋基础类，对应es_shopcar表
@Data
public class ShopCar {
    private Integer id;
    private Integer userId;
    private Integer bookId;
    private Integer num;
    
    public void setUserId(Integer userId) {
        this.userId = userId;
    }
    
    public Integer getUserId() {
        return userId;
    }
    
    public void setBookId(Integer bookId) {
        this.bookId = bookId;
    }
    
    public Integer getBookId() {
        return bookId;
    }
    
    public void setNum(Integer num) {
        this.num = num;
    }
    
    public Integer getNum() {
        return num;
    }
}